#ifndef SINGAL_H
#define SINGAL_H
#include <iostream>
#include <map>

using namespace std;
class singal
{
protected:

public:
    enum source{file,sql,dev,url};
    source sig;
    string path;
    singal();
};

class singal_list{
    map<string,singal> m;
public:
    void insert(string name,singal sig);
    void remove(string name);
    singal find(string name);
};

#endif // SINGAL_H
